#!/bin/bash

#your data path
data_foldername='aloam_kitti/'
#gt path
gt_foldername='poses/'

  for i in 0 1 2 3 4 5 6 7 8 9 
    do

    sequencename=$i
    sequencename=`echo $i|awk '{printf("%02d\n",$0)}'`

    data_path=$data_foldername$sequencename'/test_.txt'
    gt_path=$gt_foldername$sequencename'.txt'
    
    echo $data_path>>log.txt
    echo $gt_path>>log.txt

    evo_ape kitti $data_path $gt_path >> log.txt
    evo_rpe kitti $data_path $gt_path >> log.txt

    done


